using System;
using System.Collections.Generic;
using System.Text;

namespace project
{
    class Transaction_Class
    {
        string _transtype;
        string _transfrom;
        string _transto;
        int _amt;

        public Transaction_Class(string trans_type, string trans_from, string trans_to, int amt)
        {
            _transtype = trans_type;
            _transfrom = trans_from;
            _transto = trans_to;
            _amt = amt;
        }

        public string transtype
        {
            get
            {
                return _transtype;
            }
            set
            {
                _transtype = value;
            }
        }

        public string trans_from    
        {
            get
            {
                return _transfrom;
            }
            set
            {
                _transfrom = value;
            }
        }

        public string trans_to
        {
            get
            {
                return _transto;
            }
            set
            {
                _transto = value;
            }
        }

        public int amt
        {
            get
            {
                return _amt;
            }
            set
            {
                _amt = value;
            }
        }
    }
}
